import { defineStore } from 'pinia'
import { questions } from '../assets/js/questions'
import { danger } from '../assets/js/danger'
import { temperature } from '../assets/js/temperature'

export const useStore = defineStore('index', {
  state: () => {
    return {
      title: '疼痛温度中医',
      user: {
        name: '中医医生'
      },
      questions,
      danger,
      temperature
    }
  },
  getters: {},
  actions: {
    changeUser() {}
  }
  //persist: true,//是否开启持久化存储
})
